<!-- 我的信息 -->
<template>
	<view class="no-warpper">
		<view class="nl-shadow-box u-skeleton">
			<view>
				<view class="nl-flex-title">
					<text>员工信息</text>
				</view>
				<view class="nl-flex-list">
					<text>员工名称</text>
					<text selectable="true" class="right-grey">{{userInfo.userName}}</text>
				</view>
				<view class="nl-flex-list">
					<text >员工编号</text>
					<text selectable="true" class="right-grey">{{userInfo.userId}}</text>
				</view>
				
				<view class="nl-flex-title">
					<text>商户信息</text>
				</view>
				<view class="nl-flex-list">
					<text>商户名称</text>
					<text selectable="true" class="right-grey">{{userInfo.storeName}}</text>
				</view>
				<view class="nl-flex-list">
					<text>商户类型</text>
					<text selectable="true" class="right-grey">物业</text>
				</view>
				<view class="nl-flex-list">
					<text>商户编号</text>
					<text selectable="true" class="right-grey">{{userInfo.storeId}}</text>
				</view>
			</view>
			
		</view>
	</view>
</template>
	
<script>
	import { mapState } from 'vuex';
	export default {
		data() {
			return {
			}
		},
		onLoad() {
			// this.getOwnerInfo()
			// uni.$on('refresh',()=>{
			// 	this.getOwnerInfo();
			// 	this.skeletonLoading = true;
			// })
		},
		computed: {
			...mapState('user', ['userInfo'])
		},
		methods: {
		}
	}
</script>

<style lang="scss">
	
</style>
